Associate Cloud Engineer v1.0

Page:    1 / 18   
Exam contains 266 questions

You want to send and consume Cloud Pub/Sub messages from your App Engine application. The Cloud Pub/Sub API is currently disabled. You will use a service account to authenticate your application to the API. You want to make sure your application can use Cloud Pub/Sub. What should you do?

  • A. Enable the Cloud Pub/Sub API in the API Library on the GCP Console.
  • B. Rely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses it.
  • C. Use Deployment Manager to deploy your application. Rely on the automatic enablement of all APIs used by the application being deployed.
  • D. Grant the App Engine Default service account the role of Cloud Pub/Sub Admin. Have your application enable the API on the first connection to Cloud Pub/ Sub.


Answer : A

You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver
Monitoring dashboard. What should you do?

  • A. Use Shared VPC to connect all projects, and link Stackdriver to one of the projects.
  • B. For each project, create a Stackdriver account. In each project, create a service account for that project and grant it the role of Stackdriver Account Editor in all other projects.
  • C. Configure a single Stackdriver account, and link all projects to the same account.
  • D. Configure a single Stackdriver account for one of the projects. In Stackdriver, create a Group and add the other project names as criteria for that Group.


Answer : D

You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group?

  • A. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
  • B. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
  • C. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
  • D. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2.


Answer : A

You want to verify the IAM users and roles assigned within a GCP project named my-project. What should you do?

  • A. Run gcloud iam roles list. Review the output section.
  • B. Run gcloud iam service-accounts list. Review the output section.
  • C. Navigate to the project and then to the IAM section in the GCP Console. Review the members and roles.
  • D. Navigate to the project and then to the Roles section in the GCP Console. Review the roles and status.


Answer : C

You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?

  • A. Verify that you are Project Billing Manager for the GCP project. Update the existing project to link it to the existing billing account.
  • B. Verify that you are Project Billing Manager for the GCP project. Create a new billing account and link the new billing account to the existing project.
  • C. Verify that you are Billing Administrator for the billing account. Create a new project and link the new project to the existing billing account.
  • D. Verify that you are Billing Administrator for the billing account. Update the existing project to link it to the existing billing account.


Answer : B

You have one project called proj-sa where you manage all your service accounts. You want to be able to use a service account from this project to take snapshots of VMs running in another project called proj-vm. What should you do?

  • A. Download the private key from the service account, and add it to each VMs custom metadata.
  • B. Download the private key from the service account, and add the private key to each VMג€™s SSH keys.
  • C. Grant the service account the IAM Role of Compute Storage Admin in the project called proj-vm.
  • D. When creating the VMs, set the service accountג€™s API scope for Compute Engine to read/write.


Answer : C

You created a Google Cloud Platform project with an App Engine application inside the project. You initially configured the application to be served from the us- central region. Now you want the application to be served from the asia-northeast1 region. What should you do?

  • A. Change the default region property setting in the existing GCP project to asia-northeast1.
  • B. Change the region property setting in the existing App Engine application from us-central to asia-northeast1.
  • C. Create a second App Engine application in the existing GCP project and specify asia-northeast1 as the region to serve your application.
  • D. Create a new GCP project and create an App Engine application inside this new project. Specify asia-northeast1 as the region to serve your application.


Answer : C

You need to grant access for three users so that they can view and edit table data on a Cloud Spanner instance. What should you do?

  • A. Run gcloud iam roles describe roles/spanner.databaseUser. Add the users to the role.
  • B. Run gcloud iam roles describe roles/spanner.databaseUser. Add the users to a new group. Add the group to the role.
  • C. Run gcloud iam roles describe roles/spanner.viewer - -project my-project. Add the users to the role.
  • D. Run gcloud iam roles describe roles/spanner.viewer - -project my-project. Add the users to a new group. Add the group to the role.


Answer : A

You create a new Google Kubernetes Engine (GKE) cluster and want to make sure that it always runs a supported and stable version of Kubernetes. What should you do?

  • A. Enable the Node Auto-Repair feature for your GKE cluster.
  • B. Enable the Node Auto-Upgrades feature for your GKE cluster.
  • C. Select the latest available cluster version for your GKE cluster.
  • D. Select ג€Container-Optimized OS (cos)ג€ as a node image for your GKE cluster.


Answer : B

You have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do?

  • A. Configure an HTTP(S) load balancer.
  • B. Configure an internal TCP load balancer.
  • C. Configure an external SSL proxy load balancer.
  • D. Configure an external TCP proxy load balancer.


Answer : A

Reference:
https://cloud.google.com/load-balancing/docs/https/

You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file?

  • A. Use the GCP Console to transfer the file instead of gsutil.
  • B. Enable parallel composite uploads using gsutil on the file transfer.
  • C. Decrease the TCP window size on the machine initiating the transfer.
  • D. Change the storage class of the bucket from Nearline to Multi-Regional.


Answer : B

You've deployed a microservice called myapp1 to a Google Kubernetes Engine cluster using the YAML file specified below:

You need to refactor this configuration so that the database password is not stored in plain text. You want to follow Google-recommended practices. What should you do?

  • A. Store the database password inside the Docker image of the container, not in the YAML file.
  • B. Store the database password inside a Secret object. Modify the YAML file to populate the DB_PASSWORD environment variable from the Secret.
  • C. Store the database password inside a ConfigMap object. Modify the YAML file to populate the DB_PASSWORD environment variable from the ConfigMap.
  • D. Store the database password in a file inside a Kubernetes persistent volume, and use a persistent volume claim to mount the volume to the container.


Answer : C

You are running an application on multiple virtual machines within a managed instance group and have autoscaling enabled. The autoscaling policy is configured so that additional instances are added to the group if the CPU utilization of instances goes above 80%. VMs are added until the instance group reaches its maximum limit of five VMs or until CPU utilization of instances lowers to 80%. The initial delay for HTTP health checks against the instances is set to 30 seconds.
The virtual machine instances take around three minutes to become available for users. You observe that when the instance group autoscales, it adds more instances then necessary to support the levels of end-user traffic. You want to properly maintain instance group sizes when autoscaling. What should you do?

  • A. Set the maximum number of instances to 1.
  • B. Decrease the maximum number of instances to 3.
  • C. Use a TCP health check instead of an HTTP health check.
  • D. Increase the initial delay of the HTTP health check to 200 seconds.


Answer : D

You need to select and configure compute resources for a set of batch processing jobs. These jobs take around 2 hours to complete and are run nightly. You want to minimize service costs. What should you do?

  • A. Select Google Kubernetes Engine. Use a single-node cluster with a small instance type.
  • B. Select Google Kubernetes Engine. Use a three-node cluster with micro instance types.
  • C. Select Compute Engine. Use preemptible VM instances of the appropriate standard machine type.
  • D. Select Compute Engine. Use VM instance types that support micro bursting.


Answer : C

You recently deployed a new version of an application to App Engine and then discovered a bug in the release. You need to immediately revert to the prior version of the application. What should you do?

  • A. Run gcloud app restore.
  • B. On the App Engine page of the GCP Console, select the application that needs to be reverted and click Revert.
  • C. On the App Engine Versions page of the GCP Console, route 100% of the traffic to the previous version.
  • D. Deploy the original version as a separate application. Then go to App Engine settings and split traffic between applications so that the original version serves 100% of the requests.


Answer : D

Reference:
https://medium.com/google-cloud/app-engine-project-cleanup-9647296e796a

Page:    1 / 18   
Exam contains 266 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy